﻿using System;
using System.Web.Mvc;
using System.ComponentModel.Composition;

using SimpleForum.Contracts;
using SimpleForum.Data.Services;

namespace HelloWorldPlugin.Controllers
{
    [ExportController("HelloWorld")]
    public class HelloWorldController : Controller
    {
        private readonly IUserService UserService;

        [ImportingConstructor]
        public HelloWorldController(IUserService UserService)
        {
            this.UserService = UserService;
        }

        public ActionResult Index()
        {
            return View();
        }
    }
}